#ifndef EMPLOYEEPAGE_H
#define EMPLOYEEPAGE_H

#include <QWidget>
#include <QByteArray>
#include "editprofile.h"

namespace Ui {
class EmployeePage;
}

class EmployeePage : public QWidget
{
    Q_OBJECT

public:
    explicit EmployeePage(QWidget *parent = nullptr);
    ~EmployeePage();

signals:
    void editpageshow();
    void connectToEdit(const QString &name, const QString &surname, const QString &patronymic, const QString &number, const QString &role);

public slots:
    void updateEmployee(const QString &name, const QString &surname, const QString &patronymic, const QString &number, const QString &role);

public slots:
    void on_AddEmployeeButton_clicked();

    void on_updateButton_clicked();

private:
    Ui::EmployeePage *ui;
    Editprofile *editprofile;
};

#endif // EMPLOYEEPAGE_H
